﻿using System;
using Core.Domain;

namespace Core.SyntaxAnalysis
{
    public class SyntaxException : Exception
    {
        public SyntaxException(CompilerError error)
        {
            Error = error;
        }

        public CompilerError Error { get; private set; }
    }
}